package com.engr.springbooteasypoi.service.impl;

import com.engr.springbooteasypoi.dao.UserMapper;
import com.engr.springbooteasypoi.entity.User;
import com.engr.springbooteasypoi.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: springboot-easypoi
 * @desc:
 * @author: lyx
 * @date: 2019-04-19 11:29
 **/
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;


    @Override
    public List<User> findAllList() {
        return userMapper.findAll();
    }

}
